package com.siwei.mes.mapper;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.ExperimentIronMarkRel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 铁标-erp任务单和抗氯离子试验委托中间表(PkExperimentIronMarkRel)表数据库访问层
 *
 * @author linzi
 * @since 2025-07-04 14:42:04
 */
public interface ExperimentIronMarkRelMapper extends BaseMapper<ExperimentIronMarkRel> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<ExperimentIronMarkRel> getList(ExperimentIronMarkRel entity);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    ExperimentIronMarkRel loadById(@Param("id") Long id);

    /**
     * 根据任务单号查询是否
     *
     * @param frwdh 任务单号
     * @return
     */
    ExperimentIronMarkRel selectByFrwdh(@Param("frwdh") Integer frwdh);
}
